AutoHotkey Script for Unity and Blender to allow middle click toggle between: Transform-Scale-Rotate

When using Unity and Blender I use a 3d mouse in my left hand to move around the environment, but I still needed to move my hand to the keyboard to switch between Transform, Scale and Rotate. This Autohotkey script allows me to do that with the redundant middle-click mouse button.